import request from '@/utils/request'

export function login(query) {
  return request({
    url: '/LoginAuthority/UserLoginByEnt',
    method: 'post',
    data: query
  })
}
export function GetUserInfo() {
  return request({
    url: '/LoginAuthority/GetUserInfo',
    method: 'get'
  })
}
export function GetNavigationMenus(query) {
  return request({
    url: `/FormDesign/GetNavigationMenus/${query.sysid}/${query.id}`,
    method: 'get'
  })
}
